home *** CD-ROM | disk | FTP | other *** search
/ Power DOS 1996 July / Power DOS - July 1996.iso / sound / c_labs / devinfo / fm.exe / READ.ME < prev   
Text File  |  1996-01-25  |  1KB  |  40 lines

  1.                                    FMSAMPLE.C
  2.  
  3. This is a sample program which shows the very basics of controlling the
  4. FM synthesizer chips on Sound Blaster cards.
  5.  
  6. The program, written in Borland C, contains conditionals which cause the
  7. program to be compiled for a Sound Blaster, Sound Blaster Pro version 1
  8. (CT-1330), or Sound Blaster Pro version 2 (CT-1600) and later cards.
  9.  
  10. If you have a Sound Blaster Pro, but you don't know whether it's a CT-1330
  11. or CT-1600, do this at the DOS prompt:
  12.   debug
  13.   i 388
  14. If the value returned is 06, you have a CT-1330.  If the value is 00, you
  15. have a CT-1600.
  16.  
  17. The executable included with this was compiled for Sound Blaster Pro 2 and
  18. Sound Blaster 16 cards (which use the OPL3).
  19.  
  20. To compile the program for a Sound Blaster Pro version 1 (CT-1330),
  21. comment out the line:
  22.   #define OPL3
  23.  
  24. To compile the program for a plain Sound Blaster (monaural), comment out
  25. the line:
  26.   #define STEREO
  27.  
  28. For more information on OPL2 FM synthesis, see chapter 15 of the Sound Blaster
  29. Developer Kit (first edition, the black book).  For documentation on the
  30. OPL3 FM synthesizer, request the "OPL3 YMF262 Application Manual," catalog
  31. number LSI-6MF2622 from Yamaha.  You might also want the YM3812 (OPLII)
  32. Application Manual, cat. no. LSI-2438120.
  33.   Yamaha Systems Technology
  34.   981 Ridder Park Drive
  35.   San Jose, CA 95131
  36.   Tel. (408) 437-3133
  37.   Fax. (408) 437-8791
  38.  
  39.  
  40.